package com.xnx.bincker.mydoc;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

@Configuration
public class MyDocConfiguration {
    @Bean
    public RequestMappingDocument requestMappingDocument(RequestMappingHandlerMapping requestMappingHandlerMapping){
        return new RequestMappingDocument(requestMappingHandlerMapping);
    }
}
